package com.zyh.Repository;

import com.zyh.entity.EnterSchool;
import com.zyh.service.ESchoolService;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ESchoolRepository extends JpaRepository<EnterSchool,Integer> {

    List<EnterSchool> findAllBySno(int sno);

    List<EnterSchool> findAllBySname(String sname);
}
